package com.gcxy.controller;


import com.gcxy.conf.result.R;
import com.gcxy.service.IDataDicCategoryService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 数据字典类型 前端控制器
 * </p>
 *
 * @author author
 * @since 2024-12-25
 */
@RestController
@RequestMapping("/data-dic-category")
@Api(value = "DataDicCategoryController",tags = "数据字典类型管理")
public class DataDicCategoryController {
	@Autowired
	private IDataDicCategoryService dataDicCategoryService;

	@ApiOperation(value = "获取所有字典类型")
	@GetMapping("/getAllDicCategory")
	public R getAllDicCategory(){
		return dataDicCategoryService.getAllDicCategory();
	}
}
